package com.mvd.app.commons;

import android.os.Environment;

/**
 * @ClassName: Constants
 * @Description:静�?常量
 * @author: liuxj
 * @date: 2014-4-14 上午11:47:53
 */
public class Constants {

    // 加密的开关，false:未加�?---true:加密
    public static boolean isEncryption = false;
    public static boolean ishasnews = false;


    // 下拉刷新相关
    public static int curPageForRestList = 1;

    public static int curPageForCarList = 1;

    public static String PACKAGE_NAME = "com.kuanyu.spy.app.activity";

    public static String SD_PATH = Environment.getExternalStorageDirectory()
            .toString();

    public static String FILE_PATH = SD_PATH + "/" + PACKAGE_NAME;

    public static String FILE_CACHE = FILE_PATH + "/dataCache";

    public static String IMAGE_CACHE = FILE_PATH + "/imgCache/";

    // 百度地图map--key
    public static final String BAIDU_MAP_KEY = "CC1bfcc3c10ccc257d71f5c2e1c449f2";

    public static String API_KEY = "";

    public static String SECRET_KEY = "";

    public static String TIME_STAMP = String
            .valueOf(System.currentTimeMillis());
    // apikey
    // secretKey
    // timestamp
    public static String SHIPIN_USERNAME = "cuihuxinyuan";
    public static String SHIPIN_PASSWORD = "123456";
    public static final String APP_ID = "wxe544423c9955d614";// wxe544423c9955d614
    //检测模式
//    public static String[] MY_ACCOUNT_MODEL_LIST = {"外检", "路试", "底盘动态","调度"};
    public static String[] MY_ACCOUNT_MODEL_LIST = {"外检", "路试", "底盘动态"};

    //是否
    public static String[] YES_NO = {"否", "是"};

    //合格，不合格
    public static String[] HEGE_BUHEGE = {"未检测", "合格", "不合格"};

    //操纵力
    public static String[] CAOZONGLI = {"手操纵", "脚操纵"};

    //省会简称表
    public static String[] PROVINCE_JIANCHEN = {"测", "京", "津", "冀", "晋", "蒙", "辽", "吉",
            "黑", "沪", "苏", "浙", "皖", "闽", "赣", "鲁", "豫", "鄂", "湘", "粤", "桂", "琼",
            "川", "贵", "云", "渝", "藏", "陕", "甘", "青", "宁", "新", "港", "澳", "台"};

    //字母表
    public static String[] LETTER_TABLE = {"A", "B", "C", "D", "E", "F", "G",
            "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U",
            "V", "W", "X", "Y", "Z"};

    //检测类型
    public static String[] JIANCE_TYPE = {"初检", "复检"};

    //坡度
    public static String[] GRADIENT_TYPE = {"20%", "15%"};

    //稳定性
    public static String[] STABILITY_TYPE = {"未跑偏", "左跑偏", "右跑偏"};

    //外检车道或车间线号
    public static String[] WAIJIAN_CHEDAO_CHEJIAN_XIANHAO = {"01", "02", "03", "04",
            "05", "06", "07", "08", "09", "10"};

    //外检车道或车间线号
    public static String[] WAIJIAN_CHEDAO_CHEJIAN_XIANHAO2 = {"1", "2", "3", "4",
            "5", "6"};

    //检测结果大类
    public static String[] JIANCE_RESULT_GROUP = {"号牌号码/车辆类型", "车辆品牌/型号", "车辆识别代码(或整车出厂编号)",
            "发动机号码(或电动机号码)", "车辆颜色和外形",
            "外廓尺寸", "轴距", "整备质量", "核定载人数", "核定载质量", "栏板高度", "后轴钢板弹簧片数",
            "客车应急出口", "客车乘客通道和引道", "货箱", "车身外观",
            "外观标识、标注和标牌", "外观照明和信号灯", "轮胎", "号牌及号牌安装", "加装/改装灯具",
            "汽车安全带", "机动车用三角警告牌", "灭火器", "行驶记录装置", "车身反光标识", "车辆尾部标志板",
            "侧后防护装置", "应急锤", "急救箱", "限速功能或限速装置", "防抱死制动装置", "辅助制动装置", "盘式制动器",
            "紧急切断装置",
            "发送机舱自动灭火装置",
            "手动机械断电开关",
            "副制动踏板",
            "校车标志灯和校车停车指示标志牌",
            "危险货物运输车标志",
            "肢体残疾人操纵辅助装置",
            "联网查询"};
    //检测结果具体条目
    public static String[] JIANCE_RESULT_CHILD = {"初检", "复检"};

    //底盘动态检验项目
    public static String[] JDIPAN_DONGTAI_XIANGMU = {"转向系", "传动系", "制动系", "仪表和指示器"};

    //车道宽度
    public static String[] CHEDAO_WIDTH = {"2.5", "3", "0.5"};

    //轴数
    public static String[] ZHOUSHOU_LIST = {"1", "2", "3", "4", "5", "6"};

    //外检拍照内容,其他外检拍照用
    public static String[][] WAIJIAN_PHOTO_LISTS = {
            {"车辆识别代号照片", "0113"}, {"测量照片", "0137"},
            {"外观补充照片1", "0180"},{"外观补充照片2", "0181"},
            {"车辆识别代号照片(复检1)", "0182"},
            {"车辆识别代号照片(复检2)", "0102"},{"车辆识别代号照片(复检3)", "0183"},
            {"车辆识别代号照片(复检4)", "0104"},{"车辆识别代号照片(复检5)", "0105"},
            {"车辆识别代号照片(复检6)", "0106"},
            {"车辆识别代号照片(复检7)", "0107"}, {"车辆识别代号照片(复检8)", "0108"},
            {"车辆识别代号照片(复检9)", "0109"}, {"车辆识别代号照片(复检10)", "0110"},
            {"后部外观照片", "0131"},  {"发动机号码所在位置远景照片", "0129"},
            {"侧后防护装置", "0122"},

            {"轮胎规格拍照(左前轮)", "0136"}, {"轮胎规格拍照(左后轮)", "0155"},
            {"轮胎规格拍照(右前轮)", "0154"}, {"轮胎规格拍照(右后轮)", "0156"},

            {"左前轮胎花纹照片", "0152"}, {"右前轮胎花纹照片", "0153"},
            {"车辆左前方斜视45度", "0111"}, {"车辆右后方斜视45度", "0112"},
            {"车辆识别代码", "0113"}, {"驾驶人座椅汽车安全带", "0157"}, {"行驶记录装置", "0118"},
            {"灭火器", "0116"}, {"车厢内部", "0115"}, {"车辆正后方", "0158"},
            {"发动机号码", "0119"}, {"发动机舱自动灭火装置", "0132"}, {"应急锤", "0117"},
            {"电子手刹", "A112"},
            {"尾箱内部照片", "0114"},
            {"急救箱", "0127"}, {"防抱死制动装置", "0134"}, {"辅助制动装置", "0130"},
//             {"车厢内部", "0137"},
            {"副制动踏板", "0140"},
            {"危险货物运输车标志", "0163"}, {"校车停车指示标牌", "0126"},
            {"校车标牌(前)正面照片", "0159"}, {"校车标志灯", "0128"}, {"操纵辅助装置", "0135"},
            {"校车标牌(前)反面照片", "0160"}, {"校车标牌(后)正面照片", "0161"}, {"车厢液压臂拍照", "0123"},
            {"后轴钢板弹簧片数", "0164"}, {"灭火器有效期", "0165"}, {"内部结构和座位", "0167"},
            {"客货挂外观喷涂", "0168"},
            {"前轮盘式制动器", "0133"},
            {"校车卧铺客车的车内外录像监控系统", "0138"},
            {"校车辅助倒车装置", "0139"},
            {"机动车标准照片", "0198"},
            {"货箱或常压罐体上打刻的车辆识别代号1", "A101"},
            {"货箱或常压罐体上打刻的车辆识别代号2", "A102"},
            {"紧急切断装置", "A103"},
            {"手动机械断电开关", "A104"},
            {"打刻的车辆识别代号1:1还原照片", "A105"},
            {"悬架", "A106"},
            {"外廓长度人工测量结果照片", "A107"},
            {"外廓宽度人工测量结果照片", "A108"},
            {"外廓高度人工测量结果照片", "A109"},
            {"车辆正前上方照片", "A110"},
            {"车辆正后上方照片", "A111"},
            {"嫌疑车辆证据照片", "A181"},
            {"违规车辆证据照片", "A182"},
            {"机动车交通事故责任强制保险凭证(补充)", "0120"},
            {"安全出口", "0199"}
    };

    //环保拍照
    public static String[][] HUANBAO_PHOTO_LISTS = {
            {"行驶证照片", "P0101"},
            {"车辆左前方斜视45度照片", "P0201"},
            {"车辆右后方斜视45度照片", "P0202"},
            {"车辆识别代号照片", "P0203"},
            {"车辆铭牌照片", "P0204"},
            {"仪表盘里程数照片", "P0205"},
            {"点火开关置ON后仪表盘照片", "P0301"},
            {"起动发动机后仪表盘照片", "P0302"},
            {"检验委托书（合同）照片", "P0104"},
            {"检验报告照片", "P0501"},
            {"维修竣工出厂合格证照片", "P0102"},
            {"发动机号照片", "P0209"},
            {"车辆油箱盖照片", "P0208"},
            {"排气污染控制装置照片（在用车适用）", "P0206"},
            {"车辆燃油蒸发系统（活性炭罐）照片", "P0207"},
            {"OBD接口照片", "P0303"},
            {"OBD连接读取现场照片", "P0304"},
            {"排气检验过程前照片", "P0401"},
            {"排气检验过程后照片", "P0402"},
            {"环保信息随车清单照片", "P0601"},
            {"随车清单二维码查询结果照片", "P0602"},
            {"三元催化器照片", "P0603"},
            {"DPF照片", "P0604"},
            {"SCR照片", "P0605"}, {"DOC 照片", "P0606"}, {"POC 照片", "P0607"},
            {"EGR 照片", "P0608"}, {"ECU 照片", "P0609"},
            {"车辆出厂合格证照片", "P0103"},
            {"氧传感器照片", "P0610"},
    };
    public static String[] HUANBAO_CODE = {
            "Code01", "Code02", "Code03", "Code04", "Code05", "Code06", "Code07", "Code08", "Code09",
            "Code10", "Code11", "Code12", "Code13", "Code14", "Code15", "Code16", "Code17", "Code18",
            "Code19", "Code20", "Code21", "Code22", "Code23", "Code24", "Code25", "Code26"
    };

    public static String[] HUANBAO_CODE_SELECTED = {
            "1", "1",
            "0", "1",
            "1", "1",
            "0", "0",
            "0", "1",
            "1", "1",
            "1", "1",
            "1", "1",
            "1", "1",
            "0", "1",
            "1", "1",
            "1", "1",
            "1", "1"
    };
    public static String[] HUANBAO_NAME_SELECTED = {
            "车辆机械状况是否良好", "排气污染控制装置是否齐全正常",
            "是否烧机油或严重冒黑烟", "汽油车曲轴箱通风系统是否正常",
            "燃油蒸发控制系统是否正常", "车上仪表工作是否正常",
            "有无影响安全或引起测试偏差的机械故障", "车辆进排气系统是否有任何泄露",
            "发动机、变速箱、冷却系统有无明显液体渗漏", "是否带有OBD系统",
            "轮胎胎压是否正常", "轮胎是否干燥清洁",
            "是否关闭车上空调、暖风等附属设备", "是否已经中断可能影响测试的ARS/ESP/EPC/自动制动等功能",
            "车辆油箱和油品是否异常", "是否适合工况法检测",
            "发动机燃油系统是否采用电控泵", "点火开关ON，ODB故障指示器（mil灯）是否激活",
            "起动发动机后，仪表盘OBD故障指示器（mil灯）有无点亮报警", "OBD接口通讯是否正常",
            "号牌是否一致", "车架号是否一致",
            "发动机号是否一致", "品牌型号/车辆类型是否一致",
            "车辆水温是否正常", "车辆油箱盖是否正常使用"
    };
    public static String[][] HUANBAO_ITEMS = {
            {"车辆机械状况是否良好", "1"}, {"排气污染控制装置是否齐全正常", "1"},
            {"是否烧机油或严重冒黑烟", "0"}, {"发动机燃油系统是否采用电控泵", "1"},
            {"汽油车曲轴箱通风系统是否正常", "1"},
            {"燃油蒸发控制系统是否正常", "1"}, {"车上仪表工作是否正常", "1"},
            {"有无影响安全或引起测试偏差的机械故障", "0"}, {"车辆进排气系统是否有任何泄露", "0"},
            {"发动机变速箱冷却系统有无明显液体渗漏", "0"}, {"是否带有OBD系统", "1"},
            {"轮胎胎压是否正常", "1"}, {"轮胎是否干燥清洁", "1"},
            {"是否关闭车上空调、暖风等附属设备", "1"}, {"是否已经中断可能影响测试的ARS/ESP/EPC/自动制动等功能", "1"},
            {"车辆油箱和油品是否异常", "0"}, {"是否适合工况法检测", "1"},
            {"点火开关ON,ODB故障指示器(mil灯)是否激活", "1"},
            {"起动发动机后,仪表盘OBD故障指示器(mil灯)有无点亮报警", "0"}, {"OBD接口通讯是否正常", "1"},
            {"号牌是否一致", "1"}, {"车架号是否一致", "1"},
            {"发动机号是否一致", "1"}, {"品牌型号/车辆类型是否一致", "1"},
            {"车辆水温是否正常", "1"}, {"车辆油箱盖是否正常使用", "1"}
    };

    public static String[][] WAI_6M_PHOTO_TYPE_LISTS = {
            {"车辆正前上方照片", "A110"},
            {"车辆正后上方照片", "A111"},
    };
    public static String[] MEMO_REASONS =
            {"无", "发动机/驱动电机标识缺失且打刻号码不易见，无法拍摄"};

    public static String[] ONLINE_DESC = {
            "存在违法未处理", "存在事故未处理",
            "有召回计划未实施召回", "损伤部位和损伤情况",
            "存在被盗抢状态", "存在注销状态",
            "存在达到报废标准状态", "存在事故逃逸状态",
            "存在锁定状态"};
    public static String[][] USER_RIGHT_LISTS = {
            {"0", "管理员"},
            {"1", "操作员"},
            {"2", "引车员"},
            {"3", "外检员"},
            {"4", "底盘动态检测员"},
            {"5", "底盘静态检测员"},
            {"6", "路试员"},
            {"7", "调度员"}
    };
    public static String[] HEGE_LISTS =
            {"合格", "不合格", "一级", "二级"};
}
